package com.wut.retrofit.service.impl;

import com.wut.core.common.vo.BaseResponse;
import com.wut.retrofit.feign.MinioClient;
import com.wut.retrofit.service.RetrofitService;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

@Service
@RequiredArgsConstructor
public class RetrofitServiceImpl implements RetrofitService {

    private final MinioClient minioClient;

    @Override
    public BaseResponse getBuckets() {
        return minioClient.getBuckets();
    }
}
